
<script setup>
import { watch } from 'vue';
import { useRouter,useRoute } from 'vue-router';
const router = useRouter();
const route = useRoute();



</script>
<template>
    <div class="bread">
        <span class="color-font">{{ route.meta.title }}</span>
        {{ route.meta.isreturn }}
        <span v-if="route.meta.isreturn" @click="router.go(-1)">返回</span>
    </div>
</template>
<style lang='scss' scoped>
.bread {
    height: $bread-height;
    padding: 0 15px;
    line-height: $bread-height;
    font-size: 12px;
    background: var(--FAFAFA-rgba000);
    display: flex;
    justify-content: space-between;
    span{
        &:nth-child(2){
            cursor: pointer;
        }
    }
}
</style>